<div style="display: flex;">
    <div class="title" *ngIf="showTitle">
        <input style="padding: 0px;
        border: 0px;" nz-input placeholder="请输入内容" [(ngModel)]="codeName" (change)="codeNameInputChange()"
            (blur)="inputBlur()" *ngIf="showInput" />
        <span *ngIf="!showInput">
            {{codeName }}
        </span>
        <a nz-button nzType="link" (click)="editCodeName()">
            <i class="iconfont icon-edit-fill"></i>
        </a>
    </div>
    <div style="flex:1">
        <div class="grid" #dragPanel (dragover)="onDragOver($event)" (drop)="onDrop($event)">

        </div>
    </div>
</div>